package com.yl.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yl.dao.IAdminDao;
import com.yl.model.Admin;



@Service
public class AdminService implements IAdminService {
	
	@Resource
	private IAdminDao adminDao;

	
	/**
	 *后台管理员登录
	 */
	@Override
	public Admin login(Admin admin) {
		return adminDao.login(admin);
	}

}
